package com.shop.api.params;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class CreateProductParam implements Serializable {

    @NotEmpty(message = "产品名不能为空")
    private String productName;

    @NotEmpty(message = "分类ID不能为空")
    private Long categoryId;

    @NotEmpty(message = "店铺ID不能为空")
    private Long storeId;
}
